package com.cx.io;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package com.cx.io
 * @Description:
 * @Date 2025/5/23 17:06
 */
//字符输出流：FileReader
public class FileReaderTest {
    public static void main(String[] args) throws IOException {
        BufferedReader bufferedReader = new BufferedReader(new FileReader("ccc.tex"));
        String line;
       while ((line =bufferedReader.readLine()) != null)
           System.out.println(line);

    }
}